From: Sebastian Kemper Date: Sat, 24 Feb 2018 09:49:43 +0000 (+0100) Subject: libsrtp: remove $(FPIC) from TARGET_CFLAGS X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=4c8e05237434c36e4a28dae01e4c6b26078d64ca;p=feed%2Ftelephony.git libsrtp: remove $(FPIC) from TARGET_CFLAGS bgg729 already makes sure that the compiler emits position-independent code. Adding $(FPIC) makes no difference. In addition the libsrtp build system puts its own flag behind the CFLAGS, overriding whatever was set before. Signed-off-by: Sebastian Kemper --- diff --git a/libs/libsrtp/Makefile b/libs/libsrtp/Makefile index 3f102f3..f54c776 100644 --- a/libs/libsrtp/Makefile +++ b/libs/libsrtp/Makefile @@ -1,7 +1,7 @@ # -# Copyright (C) 2006-2017 OpenWrt.org +# Copyright (C) 2006-2018 OpenWrt.org # Copyright (C) 2011 Victor Seva -# Copyright (C) 2017 Jiri Slachta +# Copyright (C) 2017 - 2018 Jiri Slachta # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -27,7 +27,6 @@ PKG_MAINTAINER:=Jiri Slachta include $(INCLUDE_DIR)/package.mk -TARGET_CFLAGS += $(FPIC) CONFIGURE_ARGS += \ --disable-stdout \ --enable-syslog